<div id="recent-tabs2" class="box">
    <div class="box-header">
        <ul class="nav">
            <li><a class="current" href="#recent-tabs-posts"><?php echo lang('cambiar_fechas'); ?></a></li>
        </ul>
    </div><!-- end .box-header -->
    <div class="list-wrap">
        <form name="form" action="<?php echo site_url('front/reserva') ?>" method="post">
            <ul id="recent-tabs-posts">
                <li>
                    <?php echo lang('fecha_desde') . ": "; ?><input type="text" value="<?php echo $ses['p_datefrom']?>" id="datefrom" name="datefrom" size="9"/>
                    <br/><br/>
                    <?php echo lang('fecha_hasta') . ": "; ?><input type="text" value="<?php echo $ses['p_dateto']?>" id="dateto" name="dateto" size="9"/>
                </li>
                <li>
                    <table style="width: 100%; margin-bottom: 0px;">
                        <tr>
                            <td>
                                <input type="hidden" id="p_entorno_playa" name="p_entorno_playa" value="<?php if($ses['p_entorno'] == 1) echo "S"; else echo "N";?>"/>
                                <img id="img_playa" class="cursor_hand" src="<?php echo site_url();?>/public/images/playa.png" width="35" height="35" title="<?php echo lang('entorno_de_playa'); ?>"/>
                            </td>
                            <td>
                                <input type="hidden" id="p_entorno_ciudad" name="p_entorno_ciudad" value="<?php if($ses['p_entorno'] == 2) echo "S"; else echo "N";?>"/>
                                <img id="img_ciudad" class="cursor_hand" src="<?php echo site_url();?>/public/images/edificio.png" width="35" height="35" title="<?php echo lang('entorno_de_ciudad'); ?>"/>
                            </td>
                            <td>
                                <input type="hidden" id="p_entorno_rural" name="p_entorno_rural" value="<?php if($ses['p_entorno'] == 3) echo "S"; else echo "N";?>"/>
                                <img id="img_rural" class="cursor_hand" src="<?php echo site_url();?>/public/images/arbol.gif" width="35" height="35" title="<?php echo lang('entorno_rural'); ?>"/>
                            </td>
                            <td>
                                <input type="hidden" id="p_entorno_nieve" name="p_entorno_nieve" value="<?php if($ses['p_entorno'] == 4) echo "S"; else echo "N";?>"/>
                                <img id="img_nieve" class="cursor_hand" src="<?php echo site_url();?>/public/images/nieve.gif" width="35" height="35" title="<?php echo lang('entorno_de_nieve'); ?>"/>
                            </td>
                        </tr>
                        <tr>
                            <td><b><?php echo lang('entorno_de_playa'); ?></b></td>
                            <td><b><?php echo lang('entorno_de_ciudad'); ?></b></td>
                            <td><b><?php echo lang('entorno_rural'); ?></b></td>
                            <td><b><?php echo lang('entorno_de_nieve'); ?></b></td>
                        </tr>                        
                    </table> 
                </li>
                <li>
                    <?php echo lang('lugar') . ": " . $lugares; ?>
                    <input type="hidden" id="p_valores_lugares" name="p_valores_lugares" value="<?php echo $ses['p_valores_lugares']?>"/>
                </li>
                <li>
                    <?php echo lang('personas') . ": "; ?>
                    <select id="p_personas" name="p_personas">
                        <option value="" <?php if($ses['p_personas'] == '') echo "selected";?>><?php echo lang('sin_seleccion');?></option>
                        <option value="1" <?php if($ses['p_personas'] == 1) echo "selected";?>>1</option>
                        <option value="2" <?php if($ses['p_personas'] == 2) echo "selected";?>>2</option>
                        <option value="3" <?php if($ses['p_personas'] == 3) echo "selected";?>>3</option>
                        <option value="4" <?php if($ses['p_personas'] == 4) echo "selected";?>>4</option>
                        <option value="5" <?php if($ses['p_personas'] == 5) echo "selected";?>>5</option>
                        <option value="6" <?php if($ses['p_personas'] == 6) echo "selected";?>>6</option>
                        <option value="7" <?php if($ses['p_personas'] == 7) echo "selected";?>>7</option>
                        <option value="8" <?php if($ses['p_personas'] == 8) echo "selected";?>>8</option>
                        <option value="9" <?php if($ses['p_personas'] == 9) echo "selected";?>>9</option>
                        <option value="10" <?php if($ses['p_personas'] == 10) echo "selected";?>>10</option>
                    </select>
                </li>
                <li style="padding: 11px 10px;">
                    <div class="botonContenedor">
                        <input type="submit" class="boton buscar" value="Buscar"/>
                    </div>
                </li>
            </ul><!-- end #recent-tabs-posts-->
        </form>
        <div style="height: 5px"></div>
    </div><!-- end .list-wrap -->
</div><!-- end #recent-tabs -->